<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ include file="/WEB-INF/layout/header.jsp"%>

<h1>
   <fmt:message key="message.view" />
</h1>
<div class="span-24">
   <h3><fmt:message key="message.message" /></h3>
   <p>
      <strong><fmt:message key="message.messageId" />:</strong>
      <c:out value="${message.id}" />
      <br /><strong><fmt:message key="message.transactionId" />:</strong>
      <c:out value="${message.transactionId}" />
      <br /> <strong><fmt:message key="message.timestamp" />:</strong>
      <fmt:formatDate value="${message.logdate}" pattern="HH:mm dd.MM.yyy" />
      <br /><strong><fmt:message key="message.direction" />:</strong>
      <fmt:message key="message.inbound.${message.inbound}" />
   </p>
   <p>
   <h3><fmt:message key="message.misc" /></h3>
   <pre><c:out value="${message.misc}" escapeXml="true" /></pre>
   </p>
   <p>
   <h3><fmt:message key="message.payload" /></h3>
   <pre><c:out value="${message.payload}" escapeXml="true" /></pre>
   </p>

   <a href="/message"><fmt:message key="message.list" /></a>
</div>

<%@ include file="/WEB-INF/layout/footer.jsp"%>